home *** CD-ROM | disk | FTP | other *** search
- short: TrueType text rendering engine (v 4.2)
- uploader: krashan@amiga.pl
- author: krashan@amiga.pl
- type: util/libs
- distribution: public domain
-
- version: 4.3 (14.10.2002)
- requires: OS 3.0+, 68020
-
- The library is fast, AmigaOS friendly TrueType render engine. It has
- nothing to do with Amiga outline font system. This system has a lot of
- limitations which make it useless for high speed and quality text
- output. If someone wants an integration of TrueType with AmigaOS
- bullet.library like outline font system, should consider using
- ttf.library. Ttengine.library opens TrueType font by itself and renders
- high quality glyphs directly into any RastPort.
-
- The render engine of the library is based on FreeType2 project
- (http://www.freetype.org). This version of ttrender.library uses 2.0.9
- FreeType build.
-
- See http://amiga.pl/ttengine for news, downloads, online autodoc and
- programming tutorial.
-
- CHANGES (last three versions)
-
- v 4.1 (29.9.2002)
-
- - Added SYMBOL_CS character mapping for fonts with non-standard mapping
- like Symbol or Wingdings. Now these fonts can be used with Unicode
- 16-bit encoding.
- - Added new attributes TT_FontName, TT_FontFamily, TT_FontSubfamily for
- TT_GetAttrs(). Font names are extracted from the font file. If the font
- file contains names in multiple languages, language is selected
- according to "preferred languages" locale settings.
- - Added "FontNames" example program demonstrating feature described above.
- - Added TT_Transparency tag allowing for transparent text.
- - Added 'background' example program.
-
- v 4.2 (11.10.2002)
-
- - Implemented open counter in the LoadedFont structure. It fixes problems
- when one font is set many times for different RastPorts.
- - TT_SetAttrs() now is able to create RenderEnv context when called before
- any TT_SetFont() for given RastPort.
- - Changed TT_SetFont() return value type from VOID to BOOL because it can
- fail if runs out of memory.
- - Added "MoreFonts" example program.
-
- v 4.3 (14.10.2002)
-
- - Implemented affine transform "kernel". Transformed fonts are not cached,
- JAM2 mode and metrics functions are switched off.
- - Implemented X and Y axes scaling (TT_ScaleX and TT_ScaleY tags).
- - TT_TextFit() returned garbage in TextExtent structure if no font was
- TT_SetFont()-ed for given rastport. Now TextExtent is cleared to all zeros.
- - Added "Scaling" example program.
- - Removed Enforcer hit in TT_OpenFont() generated when font opening failed.
- - Fixed "libraries/ttengine.h" header file to follow Style Guide.
-
- FEATURES
-
- The library expands FreeType functionality making usage of TrueType
- fonts easy and comfortable. Below you can find key features:
-
- - renders whole strings (not single glyphs) with kerning.
- - antialiasing to any (not neccesarily uniform color) background.
- - optional text transparency.
- - system compatible output to any (including planar) RastPort.
- - supports JAM1. JAM2, INVERSVID, COMPLEMENT RastPort modes.
- - supports 8-bit to Unicode mapping with "ENV:ttfcodepage" table
- compatible with ttf.library.
- - allows for direct 16-bit Unicode string rendering.
- - easy to use, graphics.library like API.
- - efficient system-wide glyph cache system.
- - font database system allows flexible font files storage and
- advanced faces classification.
-
- INSTALL
-
- copy Libs/ttengine.library to LIBS:
- modify example database file and place it in ENV: and ENVARC:
-
-
-